package model

import "database/sql/driver"

//不加 tag也能找到- = 到时候改一下 数据库
type User struct {
	Id   int    `db:"id"`
	Age  int    `db:"age"`
	Name string `db:"name"`
	a    int
}

func (u User) Value() (driver.Value, error) {
	return []interface{}{u.Name, u.Age}, nil
}


